package com.lmt.entity;

import com.lmt.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 资源评论表
 * Date 2018/07/17
 *
 * @author MT-Lin
 */
@Entity(name = "resource_comment")
public class ResourceComment extends BaseEntity {

    @Column(name = "resource_id", length = 36, nullable = false)
    private String resourceId;

    @Column(name = "observer_id", length = 36, nullable = false)
    private String observerId;

    @Column(name = "content", length = 300, nullable = false)
    private String content;

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getObserverId() {
        return observerId;
    }

    public void setObserverId(String observerId) {
        this.observerId = observerId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
